package cloud.estate.community.service;

import cloud.estate.commons.bean.Community;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface communityService extends IService<Community> {
    JsonResult addOneCommunity(Community community);

    JsonResult deleteOneCommunity(String id);

    JsonResult updateOneCommunity(Community community);

    JsonResult findOneCommunity(String id);

    JsonResult findAllCommunity();
}
